package com.bms.controller;

import com.alibaba.fastjson.JSON;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

@RestController
public class logout {
    @RequestMapping(value = "/logout")
    public String logout(){
        HashMap<String, Object> data = new HashMap<>();
        int statusCode = 20000;
        String result = "success";
        data.put("code",statusCode);
        data.put("data",result);
        return JSON.toJSONString(data);
    }
}
